<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>TestStomp</title>
    <script src="/js/stomp.min.js"></script>
</head>
<body>

<script>
    var client = Stomp.client('ws://192.168.211.135:15674/ws');

    var on_connect = function(x) {
        id = client.subscribe("/exchange/paynotify", function(d) {
           alert(d.body);
        });
    };
    var on_error =  function() {
        console.log('error');
    };
    client.connect('webguest', 'webguest', on_connect, on_error, '/');


</script>

</body>
</html>